<?php

//,'middleware' => 'admin.login'
Route::group(['namespace' => 'Admin','prefix' => 'admin'],function(){
    Route::get('index','IndexController@index');
    /*Route::get('index','IndexController@a');
    Route::get('index','IndexController@b');*/

    //用户相关
    Route::resource('user','UserController');
    // 栏目删除
    Route::get('user/del/{id}','UserController@delete');
    //栏目相关
    //用户相关
    Route::resource('cat','CatController');
    // 栏目删除
	Route::get('cat/del/{id}','CatController@delete');

});
